The essence of ornaments
نویسنده
چکیده
Functional programmers from all horizons strive to use, and sometimes abuse, their favorite type system in order to capture the invariants of their programs. A widely-used tool in that trade consists in defining finely-indexed datatypes. Operationally, these types classify the programmer’s data, following the ML tradition. Logically, these types enforce the program invariants in a novel manner. This new programming pattern, by which one programs over inductive definitions to account for some invariants, lead to the development of a theory of ornaments (McBride, 2011). However, ornaments originate as a dependently-typed object and may thus appear rather daunting to a functional programmer of the non-dependent kind. This article aims at presenting ornaments from first-principles and, in particular, to declutter their presentation from syntactic considerations. To do so, we shall give a sufficiently abstract model of indexed datatypes by means of many-sorted signatures. In this process, we formalize our intuition that an indexed datatype is the combination of a data-structure and a data-logic. Over this abstraction of datatypes, we shall recast the definition of ornaments, effectively giving a model of ornaments. Benefiting both from the operational and abstract nature of many-sorted signatures, ornaments should appear applicable and, one hopes, of interest beyond the type-theoretic circles, case in point being languages with generalized abstract datatypes or refinement types.
منابع مشابه
A Comparative Study on the Symbolism in Turkmen and Baluch Ornaments in Iran
Despite the advent of mechanization in modern life, there are still men and women who create unique handicrafts that are the result of their taste and initiative. For a long time, jewelry has been of special importance among different ethnic groups in Iran, because such artifacts have come out of their creative and innovative minds and they reflect their culture, customs and traditions. Perhaps...
متن کاملA Study of Geometric Ornaments of Plaster Mihrabs Made between 12th and the mid-14th Centuries in Iran
The geometric ornaments are considered as a kind of decorating that has been used mostly in the Islamic art, alone and sometimes in conjunction with other motifs or inscriptions. The plaster altars made between 12th and the mid-14th centuries towards the Seljuk and Ilkhanid dynasties, are also considered as the works that have been decorated using various plant decorations and inscriptions, as ...
متن کاملThe Comparative Study of Geometric Ornaments of Plaster Mihrabs Created during Seljuk Period versus the Ones Created during Ilkhanid Period in Iran
The geometric decorations are among the most widely used decorations in Islamic art, which have been used alone and sometimes in combination with other motifs or inscriptions. The plaster Mihrabs related to 6th to the mid-8th century AH, coincided with the Seljuk and IL-Khanid eras, are among the works that in addition to various plant decorations and inscriptions, are decorated with various ge...
متن کاملمطالعه ی فنی تزئینات طلاکاری در کتیبه های سنگی کلیسای وانک در اصفهان
Gilding on stone is a worthwhile ornaments. These ornaments are vulnerable because of their multilayer structure. This art has been used in the objects and architectural ornaments. Nowadays, a few of these ornaments has been identified. Perhaps this is related to vulnerability of gilding. In this research the technical characteristics of a sample of these decorations in Vank Cathedral belonging...
متن کاملA Study of Artistic and Symbolic Features in Five Royal Qajar Aigrettes in the National Treasury of Iran
The Iranian kings have valued jewels and ornaments greatly and any king has attempted to collect the best ornaments and jewels entrusting them to professional craftsmen to enable kings by this way to increase their imperial glory socially and economically. It was also thought that more ornaments mean a great and glorious kingdom. Therefore, different Iranian kings have collected a tremendous tr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- J. Funct. Program.
دوره 27 شماره
صفحات -
تاریخ انتشار 2017